
package com.jf.cloud.order.dto.app;

import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 申请退款参数
 * @author zz
 */
public class OrderRefundPageDTO {

    @Schema(description = "订单号" )
    private Long orderId;

    @Schema(description = "退款单类型（1:整单退款,2:单个物品退款）" )
    private Integer refundType;

    @Schema(description = "申请类型:1,仅退款,2退款退货" )
    private Integer applyType;

    @Schema(description = "手机号码（默认当前订单手机号码）" )
    private String buyerMobile;

    @Schema(description = "用户id" )
    private Long userId;

    @Schema(description = "店铺id" )
    private Long shopId;

    @Schema(description = "退款单号" )
    private Long refundId;

    @Schema(description = "退款申请开始时间" )
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @Schema(description = "退款申请结束时间" )
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @Schema(description = "处理退款状态:(1.买家申请 2.卖家接受 3.买家发货 4.卖家收货 5.退款成功  -1.退款关闭)" )
    private Integer returnMoneySts;

    @Schema(description = "店铺名称" )
    private String shopName;

    @Schema(description = "订单类型 1团购订单 2秒杀订单 3积分订单" )
    private Integer orderType;

    private Integer sysType;

    private Long supplierId;

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getSysType() {
        return sysType;
    }

    public void setSysType(Integer sysType) {
        this.sysType = sysType;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getRefundType() {
        return refundType;
    }

    public void setRefundType(Integer refundType) {
        this.refundType = refundType;
    }

    public Integer getApplyType() {
        return applyType;
    }

    public void setApplyType(Integer applyType) {
        this.applyType = applyType;
    }

    public String getBuyerMobile() {
        return buyerMobile;
    }

    public void setBuyerMobile(String buyerMobile) {
        this.buyerMobile = buyerMobile;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getRefundId() {
        return refundId;
    }

    public void setRefundId(Long refundId) {
        this.refundId = refundId;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getReturnMoneySts() {
        return returnMoneySts;
    }

    public void setReturnMoneySts(Integer returnMoneySts) {
        this.returnMoneySts = returnMoneySts;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    @Override
    public String toString() {
        return "OrderRefundPageDTO{" +
                "orderId=" + orderId +
                ", refundType=" + refundType +
                ", applyType=" + applyType +
                ", buyerMobile='" + buyerMobile + '\'' +
                ", userId=" + userId +
                ", shopId=" + shopId +
                ", refundId=" + refundId +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", returnMoneySts=" + returnMoneySts +
                ", shopName='" + shopName + '\'' +
                ", orderType=" + orderType +
                '}';
    }
}
